// Copyright (c) 2020 Presto Labs Pte. Ltd.
// Author: jing

#pragma once

#include <memory>

#include "coin2/exchange/base/feed/ws/request_generator.h"
#include "coin2/exchange/base/market/market_exchange_api.h"
#include "coin2/exchange/feed.pb.h"

namespace coin2::exchange::factory::feed {
namespace impl {

using coin2::exchange::feed::WebsocketConfig;

std::unique_ptr<base::feed::RequestGenerator> NewRequestGenerator(
  const MarketExchangeApi& mea, const WebsocketConfig* ws_config);
}  // namespace impl
using impl::NewRequestGenerator;
}  // namespace coin2::exchange::factory::feed
